home *** CD-ROM | disk | FTP | other *** search
- Path: wkaufman.us.oracle.com!wkaufman
- From: wkaufman@wkaufman.us.oracle.com (William Kaufman)
- Newsgroups: comp.lang.c
- Subject: Re: string and NULL :question
- Date: 19 Feb 1996 01:55:43 GMT
- Organization: Oracle Corporation, Redwood Shores CA
- Message-ID: <4g8lav$k8m@inet-nntp-gw-1.us.oracle.com>
- References: <zakrzews.824018783@pegasus.montclair.edu>
- NNTP-Posting-Host: wkaufman.us.oracle.com
-
- In article <zakrzews.824018783@pegasus.montclair.edu> zakrzews@pegasus.montclair.edu (Tomas Zakrzewski) writes:
- ] Hi !
- ]
- ] Is it save to use a string library and stdio library with strings that are
- ] no terminated by NULL charater.
-
- No.
-
- ] If is not, which function may not work correctly
-
- Anything in ANSI C that takes a "(const) char *".
-
- ] and what would happen with non termianded string if a function is applied to
- ] that string.
-
- Your program crashes.
-
- ] Thanks
-
- You're welcome.
-
- -- Bill K.
-
- Bill Kaufman | "I grow old, I grow old, I shall wear the bottom
- wkaufman@us.oracle.com | of my trousers rolled,..."
- | -- the Mole-Man, "Incredible Hulk" annual
-